package com.wzdigit.wms.basic.mapper.core.basic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.basic.UserWorkDivison;
import com.wzdigit.wms.basic.domain.dtos.inventory.GetUserWhsZoneWorkDivisionDto;
import com.wzdigit.wms.basic.client.response.basic.UserWhsZoneWorkDivisionResponse;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 用户-工作分工 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-03-12
 */
@MyBatisRepository
public interface UserWorkDivisonMapper extends BaseMapper<UserWorkDivison> {

	List<UserWhsZoneWorkDivisionResponse> getUserWhsZoneWorkDivision(GetUserWhsZoneWorkDivisionDto dto);

	int insertList(@Param("userId")Integer userId, @Param("permIds")List<Integer> permIds, 
			@Param("createUser")String createUser, @Param("createTime")Date createTime);
}
